home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 3068 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.6 KB

  1. Path: venus.roc.csci.csc.com!usenet
  2. From: spamment@pccom1-156.csci.csc.com (Simon Pamment)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: C++ compilers for Unix
  5. Date: 21 Jan 1996 19:28:16 -0600
  6. Organization: Computer Sciences Corporation
  7. Sender: spamment@pccom1-156.csci.csc.com
  8. Message-ID: <fg20ott3v3.fsf@pccom1-156.csci.csc.com>
  9. References: <4dgh98$8pk@bcarh8ab.bnr.ca> <4dlqv4$7a_003@news.indirect.com>
  10. NNTP-Posting-Host: pccom1-156.csci.csc.com
  11. In-reply-to: chrism@xroads.com's message of 18 Jan 1996 18:06:13 GMT
  12. X-Newsreader: Gnus v5.1
  13.  
  14.  
  15. In article <4dlqv4$7a_003@news.indirect.com> chrism@xroads.com (Chris McCabe) writes:
  16.  
  17. > In article <4dgh98$8pk@bcarh8ab.bnr.ca>, Stephen Hui <stu2r41@bnr.ca> wrote:
  18. > >I am looking for C++ compilers to run under HP-UX especially compilers that
  19. > >generate compact code.  Any information is appreciated. thanks
  20. > >
  21. >   I strongly recommend using the GNU C++ compiler.  It generates good,
  22. > efficient code, and you will be able to compile on other UNIX platforms
  23. > with little or no changes to the code.  I have had far fewer problems
  24. > with GNU than with HP's compiler.
  25. >   One note - if you are building shared libraries, check to see if the
  26. > compiler you choose supports it.  I'm not sure if GNU does or not.
  27. >   -Chris
  28.  
  29.    I'll second that motion as we too have had numerous problems with
  30.    HP's compiler. The last project I worked on was developed using
  31.    GNU's C++ compiler. We have since attempted to compile the existing
  32.    code with HP's compiler but without success. We enlisted HP's help
  33.    but in the end it was to no avail. Some things would simply not
  34.    compile while others required us to violate the standard to get
  35.    them to compile (which does nothing for portability).
  36.  
  37.    Recently we attempted to port the code to an AIX platform also
  38.    having the GNU C++ compiler. Apart from a few places where we had
  39.    used non-standard system calls our code basically compiled straight
  40.    out of the box.
  41.  
  42.    For me this last aspect is a very persuasive argument for using a
  43.    non platform specific compiler such as GNU. Of course it is always
  44.    useful to sanity check code written under GNU's C++ compiler by
  45.    compiling it under a platform's native C++ compiler (if one is
  46.    available).
  47.  
  48.    I hope this helps your decision.
  49.  
  50.                            ... Simon ...
  51. -- 
  52. ===============================================================================
  53. Simon Pamment                    CSC Intelicom - TRIS Division
  54. Voice: (217) 351-8250 Ext:2482            115 North Neil  
  55. Fax  : (217) 351-7420                Bank of Illinois Building  
  56. Email: spamment@csci.csc.com                Champaign, IL 61824-0770
  57. ===============================================================================
  58.  
  59.